package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.model.domain.Question;
import com.itheima.model.domain.Settings;
import com.itheima.model.domain.User;
import org.springframework.stereotype.Service;

public interface SettingsApi {

        Question question (Long userId);

        Settings settings (Long userId);

        Settings findByUserId(Long userId);

       IPage blackFindByUserId(Long userId ,int page, int size);

        void save2(Settings settings);

        void save(Question question);

        void update(Question question);

        void update2(Settings settings);

    void deleteBlackList(Long userId, Long blackUserId);

    User isMobileExit(String phone);
}